Measure voltage and current in Simulink